package com.orange.service;


import com.github.pagehelper.PageInfo;
import com.orange.domain.Notice;
import com.orange.dto.NoticeDto;

import java.util.List;


public interface NoticeService{


    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);

    PageInfo<Notice> queryByPage(NoticeDto noticeDto);

    List<Notice> queryAll();
}
